package com.rayboo.example.design.pattern.adapter.volt;

public class Main {

    public static void main(String[] args) {
        HighVolt highVolt = new HighVolt(220);
        VoltAdapter adapter = new VoltAdapter(highVolt);
        int lowerVolt = adapter.getFiveVolt();
        System.out.println("lowerVolt = " + lowerVolt);
    }
}
